package org.example.travel_web.dto.route;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class PageResp {
    /**
     * 路线 ID
     */
    @Schema(description = "路线 ID")
    private Integer routeId;
    @Schema(description = "封面")
    private String pic;
    /**
     * 路线标题
     */
    @Schema(description = "路线标题")
    private String title;

    /**
     * 路线简要描述
     */
    @Schema(description = "路线简要描述")
    private String description;

    @Schema(description = "行程特色")
    private String special;

    /**
     * 所属分类 ID
     */
    @Schema(description = "所属分类 ID")
    private Integer categoryId;

    /**
     * 所属分类名称
     */
    @Schema(description = "所属分类名称")
    private String categoryName;

    /**
     * 推荐指数 1 - 5
     */
    @Schema(description = "推荐指数 1 - 5")
    private Integer recRate;

    /**
     * 总天数
     */
    @Schema(description = "总天数")
    private Integer days;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
